package cn.wolfcode.luowowo.service;

import cn.wolfcode.luowowo.domain.StrategyComment;
import cn.wolfcode.luowowo.domain.UserInfo;
import cn.wolfcode.luowowo.query.StrategyCommentQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCommentService {
    void save(StrategyComment strategyComment);
    void delete(String id);
    void update(StrategyComment strategyComment);
    StrategyComment get(String id);
    List<StrategyComment> listAll();
    // 分页查询的方法
    Page<StrategyComment> query(StrategyCommentQuery qo);

    void commentThumb(String cid, String uid);

    List<StrategyComment> getStragegyNum(String strategyId);
}